package org.eae.eldf.framework.security.session;


import org.springframework.security.core.session.SessionDestroyedEvent;
import org.springframework.security.core.session.SessionRegistryImpl;


public class MySessionRegistryImpl extends SessionRegistryImpl {

	

	@Override
	public void onApplicationEvent(SessionDestroyedEvent event) {
		String sessionId = event.getId();
		// 根据sessionId注销本次session
		removeSessionInformation(sessionId);
	}

}
